<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>变量</title>
</head>
<body>
    <script>
        // 示例 1 变量
        var num = 123;
        console.log(num);
        console.log(num.toString())
        var boo = false;
        console.log(boo);
        console.log(boo.toString());//"false"
    </script>
</body>
</html>